<?php
$PurviewLevel=0;
require("../../inc/common.inc.php");
require_once("../Admin_ChkPurview.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
if (!strpos($OtherPurview,'yingxiao_') and $Purview!=1){
	$fun->popmassage("没有此管理权限","","popback");
	exit();
}
?>
<TITLE>铭讯EOS网站后台管理</TITLE>
<Meta name="Keywords" Content="济南网站建设 济南网站制作 山东网站建设 济南铭讯软件有限公司">
<Meta name="Description" Content="济南网站制作：铭讯软件专业服务优秀企业，致力于网站建、设网站推广、网络营销一体的全访位网络服务商">
<link href="../images/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="left">
		<div class="title"><h1>营销阵营</h1></div>
		<?php
		$zongmenu=0;
		if ($Purview==1 || strpos($OtherPurview,'yingxiao_vpp_') || $fiddbadmin!=""){
		$zongmenu++;
		?>
		<div class="subtitle" onClick="show_menu('<?php echo $zongmenu;?>');"><h1 class="a1">VPP管理</h1></div>
		<ul class="menu" id="mnuList<?php echo $zongmenu;?>">
			<?php if ($Purview==1 || strpos($OtherPurview,'yingxiao_vpp_config')){?>
			<!--<li><a href="yx_vpp_config.php" target="main">基本设置</a></li>-->
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'yingxiao_vpp_class')){
			?>
			<li><a href="yx_vpp_class.php" target="main">栏目管理</a></li>
			<?php
			}
			if ($Purview==1 || $fiddbadmin!=""){
			?>
			<li><a href="yx_vpp_article_add.php" target="main">发布信息</a></li>
			<li><a href="yx_vpp_article.php" target="main">信息管理</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'yingxiao_vpp_indexad')){
			?>
			<li><a href="yx_vpp_indexad.php" target="main">幻灯片管理</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'yingxiao_vpp_danye')){
			?>
			<li><a href="yx_vpp_danye.php" target="main">单页管理</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'yingxiao_vpp_link')){
			?>
			<li><a href="yx_vpp_linktype.php" target="main">链接分类</a></li>
			<li><a href="yx_vpp_link.php" target="main">友情链接</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'yingxiao_vpp_vote')){
			?>
			<!--<li><a href="yx_vpp_vote.php" target="main">调查问卷</a></li>-->
			<?php }
			if ($Purview==1 || strpos($OtherPurview,'yingxiao_card')){
			?>
			<li><a href="yx_card.php" target="main">微名片管理</a></li>
			<?php }
			if ($Purview==1 || strpos($OtherPurview,'yingxiao_guest')){
			?>
			<li><a href="yx_guest.php" target="main">在线留言</a></li>
			<li><a href="yx_reserve.php" target="main">预约服务</a></li>
			<li><a href="yx_comment.php" target="main">服务评价</a></li>
			<li><a href="yx_goods.php" target="main">商城交易</a></li>
			<?php }
			?>
		</ul>
		<?php }
		if ($Purview==1 || strpos($OtherPurview,'yingxiao_hudong_')){
		$zongmenu++;
		?>
		<div class="subtitle" onClick="show_menu('<?php echo $zongmenu;?>');"><h1 class="a1">微信互动</h1></div>
		<ul class="menu" id="mnuList<?php echo $zongmenu;?>">
			<?php if ($Purview==1 || strpos($OtherPurview,'yingxiao_hudong_youhuiquan')){?>
            <li><a href="yx_vpp_youhuiquan.php" target="main">优惠券管理</a></li>
            <li><a href="yx_vpp_lingqu_yhq.php" target="main">优惠券领取记录</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'yingxiao_hudong_zhuanpan')){
			?>
            <li><a href="yx_vpp_caipiao.php?type=1" target="main">大转盘</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'yingxiao_hudong_choujiang')){
			?>
            <li><a href="yx_vpp_caipiao.php?type=2" target="main">抽奖</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'yingxiao_hudong_guaguale')){
			?>
            <li><a href="yx_vpp_caipiao.php?type=3" target="main">刮刮乐</a></li>
			<?php
			}
			?>
		</ul>
		<?php }
		?>
</div> 
<script>
function show_menu(modk){
    for(i=1; i<=<?php echo $zongmenu;?>; i++)
    {
	  if (i==modk)
      {
	  document.getElementById("mnuList"+i).style.display="block";
	  }
      else
      {
	  document.getElementById("mnuList"+i).style.display="none";
	  }
    }
}
show_menu('1');
</script>
</body>
</html>